package com.csu.letaobackend.service;

import com.csu.letaobackend.bean.Item;
import com.csu.letaobackend.bean.Shop;
import com.csu.letaobackend.commom.CommonResponse;

import java.util.List;

public interface ShopService
{

      CommonResponse<List<Shop>> getShopsBySeller(String username);

      CommonResponse<Shop> getShops(int shopid);

      CommonResponse<List<Shop>> addShop(Shop shop);

      CommonResponse<Shop> updateShop(Shop shop);

      CommonResponse<String> addItem(Item item);
}
